//
//  ProductDetailViewController.h
//  AppMua5
//
//  Created by duong nguyen on 9/20/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MuaAPI.h"
#import "ProductDetailScrollView.h"
#import "ProductObject.h"

@interface ProductDetailViewController : UIViewController<ASIHTTPRequestDelegate>{
    
    MuaAPI *muaApi;
    ProductDetailScrollView *scrollView;
    ProductObject *productObject;
    NSData *imageData;
}

@property (nonatomic,retain) NSData *imageData;
@property (nonatomic,retain) MuaAPI *muaApi;
@property (nonatomic,retain) ProductDetailScrollView *scrollView;
@property (nonatomic,retain) ProductObject *productObject;

-(void) setProductObject:(ProductObject *)_productObject;
-(void) getProductInfo:(NSInteger)userId productId:(NSInteger)productId;
-(void) initIphoneViews;
-(void) pushDataToViews;

@end
